﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using K.Persistence.Interface;
using K.EnterpriseLibary.Test;
namespace K.Persistence.MapperDao
{
    public class SequenceDao : BaseMapperDao,ISequenceDao
    {
        #region ISequenceDao 成員

        public int GetNextId()
        {
            Sequence sequence = new Sequence();
            object xx = ExcuteSelect("SelectSequence", sequence);
            return Convert.ToInt32(ExcuteSelect("SelectSequence", sequence));
        }

        #endregion
    }
}
